package com.service;

import com.entity.BlogType;
import com.entity.Comment;

import java.util.List;
import java.util.Map;

public interface CommentService {
    /**
     * id查找评论
     * @param id
     * @return
     */
    public Comment findCommentById(Integer id);
    List<Comment> list(Map<String, Object> map);

    Long getTotal(Map<String, Object> map);

    Integer delete(Integer id);

}
